package com.squid.templateProject.bean.req.user;

import lombok.Data;

import javax.validation.constraints.NotBlank;

/**
 * Description
 *
 * @author jinhang
 * @since 2024-1-24
 **/
@Data
public class UserInsertUpdateReq {
    /**
     * 主键
     */
    private Long id;

    /**
     * 账号
     */
    @NotBlank(message = "账号不能为空")
    private String username;

    /**
     * 密码
     */
    @NotBlank(message = "密码不能为空")
    private String password;

    /**
     * 组织Id
     */
    private Long orgId;
    /**
     * 姓名
     */
    private String name;
}
